package com.youedata.modular.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.youedata.modular.entity.LegalAidInfo;
import com.youedata.modular.mapper.LegalAidInfoMapper;
import com.youedata.modular.service.ILegalAidInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 法律服务所表 服务实现类
 * </p>
 *
 * @author hst
 * @date 2021-07-12
 */

@Transactional(rollbackFor = Exception.class)
@Service
public abstract class LegalAidInfoServiceImpl extends ServiceImpl<LegalAidInfoMapper, LegalAidInfo> implements ILegalAidInfoService {

    @SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
    @Autowired
    private LegalAidInfoMapper legalAidInfoMapper;

    @Override
    public List queryLegalAidInfoFuzzy(Page page, String field) {
        return legalAidInfoMapper.queryLegalAidInfoFuzzy(page,field);
    }

}

